
package net.tecdoc.cat.client;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for articlesResponse complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="articlesResponse">
 *   &lt;complexContent>
 *     &lt;extension base="{http://server.cat.tecdoc.net}articlesResponseSrc">
 *       &lt;sequence>
 *         &lt;element name="totalMatchingArticles" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="articles" type="{http://server.cat.tecdoc.net}ArticleRecord" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="dataSupplierFacets" type="{http://server.cat.tecdoc.net}DataSupplierFacetCounts" minOccurs="0"/>
 *         &lt;element name="genericArticleFacets" type="{http://server.cat.tecdoc.net}GenericArticleFacetCounts" minOccurs="0"/>
 *         &lt;element name="criteriaFacets" type="{http://server.cat.tecdoc.net}CriteriaFacetCounts" minOccurs="0"/>
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="statusText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "articlesResponse", propOrder = {
    "totalMatchingArticles",
    "articles",
    "dataSupplierFacets",
    "genericArticleFacets",
    "criteriaFacets",
    "status",
    "statusText"
})
public class ArticlesResponse
    extends ArticlesResponseSrc
{

    protected long totalMatchingArticles;
    protected List<ArticleRecord> articles;
    protected DataSupplierFacetCounts dataSupplierFacets;
    protected GenericArticleFacetCounts genericArticleFacets;
    protected CriteriaFacetCounts criteriaFacets;
    protected int status;
    protected String statusText;

    /**
     * Gets the value of the totalMatchingArticles property.
     * 
     */
    public long getTotalMatchingArticles() {
        return totalMatchingArticles;
    }

    /**
     * Sets the value of the totalMatchingArticles property.
     * 
     */
    public void setTotalMatchingArticles(long value) {
        this.totalMatchingArticles = value;
    }

    /**
     * Gets the value of the articles property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the articles property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getArticles().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ArticleRecord }
     * 
     * 
     */
    public List<ArticleRecord> getArticles() {
        if (articles == null) {
            articles = new ArrayList<ArticleRecord>();
        }
        return this.articles;
    }

    /**
     * Gets the value of the dataSupplierFacets property.
     * 
     * @return
     *     possible object is
     *     {@link DataSupplierFacetCounts }
     *     
     */
    public DataSupplierFacetCounts getDataSupplierFacets() {
        return dataSupplierFacets;
    }

    /**
     * Sets the value of the dataSupplierFacets property.
     * 
     * @param value
     *     allowed object is
     *     {@link DataSupplierFacetCounts }
     *     
     */
    public void setDataSupplierFacets(DataSupplierFacetCounts value) {
        this.dataSupplierFacets = value;
    }

    /**
     * Gets the value of the genericArticleFacets property.
     * 
     * @return
     *     possible object is
     *     {@link GenericArticleFacetCounts }
     *     
     */
    public GenericArticleFacetCounts getGenericArticleFacets() {
        return genericArticleFacets;
    }

    /**
     * Sets the value of the genericArticleFacets property.
     * 
     * @param value
     *     allowed object is
     *     {@link GenericArticleFacetCounts }
     *     
     */
    public void setGenericArticleFacets(GenericArticleFacetCounts value) {
        this.genericArticleFacets = value;
    }

    /**
     * Gets the value of the criteriaFacets property.
     * 
     * @return
     *     possible object is
     *     {@link CriteriaFacetCounts }
     *     
     */
    public CriteriaFacetCounts getCriteriaFacets() {
        return criteriaFacets;
    }

    /**
     * Sets the value of the criteriaFacets property.
     * 
     * @param value
     *     allowed object is
     *     {@link CriteriaFacetCounts }
     *     
     */
    public void setCriteriaFacets(CriteriaFacetCounts value) {
        this.criteriaFacets = value;
    }

    /**
     * Gets the value of the status property.
     * 
     */
    public int getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     */
    public void setStatus(int value) {
        this.status = value;
    }

    /**
     * Gets the value of the statusText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStatusText() {
        return statusText;
    }

    /**
     * Sets the value of the statusText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatusText(String value) {
        this.statusText = value;
    }

}
